package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("ordergoods")
public class OrderGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String goodsId;

    private String orderNo;

    private Integer num;

    private BigDecimal goodsPrice;

    @TableField(exist = false)
    private String goodsName;
    @TableField(exist = false)
    private String mainImage;

}
